# $Id: PKGBUILD 58308 2011-11-10 20:04:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=newt-syrup
pkgver=0.1.2
pkgrel=2
pkgdesc="Python framework for creating text-based applications"
arch=(any)
url="https://fedorahosted.org/newt-syrup/"
license=('GPL')
depends=('python2' 'libnewt')
makedepends=('python2-distribute')
options=()
source=(http://mcpierce.fedorapeople.org/rpms/newt_syrup-$pkgver.tar.gz)
md5sums=('b9412ee2483d11da28a09a26c9b70c8d')

build() {
  cd "$srcdir/newt_syrup-$pkgver"
  python2 setup.py build
}

package() {
  cd "$srcdir/newt_syrup-$pkgver"
  python2 setup.py install --root $pkgdir
}
